﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Jayden.Dll.ECMAScript
{
	public class New : Expression
	{
		private Expression m_NewExpression;
		public New(Expression newExpression)
		{
			m_NewExpression = newExpression;
		}
		public void RenderExpression(StringBuilder builder)
		{
			builder.Append("new ");
			m_NewExpression.RenderExpression(builder);
		}
	}
}
